package tgc.edu.tms.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import tgc.edu.tms.custom.BaseEntity;

/**
 * 
 * 学期末总统计表
 *
 */
@Entity
public class Sumcount extends BaseEntity<Integer> {

	private String time;//学期
	private Teacher teacher;// 教师
	private Integer actualp;// 实际完成学时
	private double termperiod;// 学期总学时
	private boolean isdone;// 是否完成教学
	
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@ManyToOne
	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Integer getActualp() {
		return actualp;
	}

	public void setActualp(Integer actualp) {
		this.actualp = actualp;
	}

	public double getTermperiod() {
		return termperiod;
	}

	public void setTermperiod(double termperiod) {
		this.termperiod = termperiod;
	}

	public boolean isIsdone() {
		return isdone;
	}

	public void setIsdone(boolean isdone) {
		this.isdone = isdone;
	}

}
